#include"rtc.h"

#ifndef GUI_GUIDER_H
#define GUI_GUIDER_H
#ifdef __cplusplus
extern "C" {
#endif

#include "lvgl.h"
#include "guider_fonts.h"

typedef struct
{
	lv_obj_t *screen;
	bool screen_del;
	lv_obj_t *screen_imgbtn_light;
	lv_obj_t *screen_imgbtn_light_label;
	lv_obj_t *screen_imgbtn_environment;
	lv_obj_t *screen_imgbtn_environment_label;
	lv_obj_t *screen_cont_5;
	lv_obj_t *screen_label_7;
	lv_obj_t *screen_digital_clock_4;
	lv_obj_t *screen_btn_2;
	lv_obj_t *screen_btn_2_label;
	lv_obj_t *screen_datetext_2;
	lv_obj_t *screen_label_14;
	lv_obj_t *screen_label_15;
	lv_obj_t *screen_imgbtn_1;
	lv_obj_t *screen_imgbtn_1_label;
	lv_obj_t *screen_label_21;
	lv_obj_t *screen_imgbtn_2;
	lv_obj_t *screen_imgbtn_2_label;
	lv_obj_t *screen_label_22;
	lv_obj_t *screen_imgbtn_3;
	lv_obj_t *screen_imgbtn_3_label;
	lv_obj_t *screen_label_23;
	lv_obj_t *screen_imgbtn_4;
	lv_obj_t *screen_imgbtn_4_label;
	lv_obj_t *screen_imgbtn_5;
	lv_obj_t *screen_imgbtn_5_label;
	lv_obj_t *screen_imgbtn_6;
	lv_obj_t *screen_imgbtn_6_label;
	lv_obj_t *screen_label_24;
	lv_obj_t *screen_label_25;
	lv_obj_t *screen_label_26;
	lv_obj_t *temperature;
	bool temperature_del;
	lv_obj_t *temperature_cont_4;
	lv_obj_t *temperature_label_6;
	lv_obj_t *temperature_digital_clock_3;
	lv_obj_t *temperature_btn_back;
	lv_obj_t *temperature_btn_back_label;
	lv_obj_t *temperature_datetext_1;
	lv_obj_t *temperature_img_1;
	lv_obj_t *temperature_img_2;
	lv_obj_t *temperature_img_3;
	lv_obj_t *temperature_temp1;
	lv_obj_t *temperature_label_16;
	lv_obj_t *temperature_label_18;
	lv_obj_t *temperature_temp2;
	lv_obj_t *temperature_hum1;
	lv_obj_t *temperature_label_20;
	lv_obj_t *tample;
	bool tample_del;
	lv_obj_t *tample_cont_4;
	lv_obj_t *tample_label_6;
	lv_obj_t *tample_digital_clock_3;
	lv_obj_t *tample_btn_back;
	lv_obj_t *tample_btn_back_label;
	lv_obj_t *tample_datetext_1;
	lv_obj_t *led;
	bool led_del;
	lv_obj_t *led_cont_4;
	lv_obj_t *led_label_6;
	lv_obj_t *led_digital_clock_3;
	lv_obj_t *led_btn_back;
	lv_obj_t *led_btn_back_label;
	lv_obj_t *led_datetext_1;
	lv_obj_t *led_cont_6;
	lv_obj_t *led_sw_l9;
	lv_obj_t *led_label_8;
	lv_obj_t *led_cont_10;
	lv_obj_t *led_sw_l5;
	lv_obj_t *led_label_12;
	lv_obj_t *led_cont_9;
	lv_obj_t *led_sw_l4;
	lv_obj_t *led_label_11;
	lv_obj_t *led_cont_8;
	lv_obj_t *led_sw_l3;
	lv_obj_t *led_label_10;
	lv_obj_t *led_cont_7;
	lv_obj_t *led_sw_l7;
	lv_obj_t *led_label_9;
	lv_obj_t *led_cont_11;
	lv_obj_t *led_sw_l8;
	lv_obj_t *led_label_13;
	lv_obj_t *camera;
	bool camera_del;
	lv_obj_t *camera_cont_4;
	lv_obj_t *camera_label_6;
	lv_obj_t *camera_digital_clock_3;
	lv_obj_t *camera_btn_back;
	lv_obj_t *camera_btn_back_label;
	lv_obj_t *camera_datetext_1;
	lv_obj_t *camera_label;
	lv_obj_t *camera_label_error;
	lv_obj_t *motor;
	bool motor_del;
	lv_obj_t *motor_cont_4;
	lv_obj_t *motor_label_6;
	lv_obj_t *motor_digital_clock_3;
	lv_obj_t *motor_btn_back;
	lv_obj_t *motor_btn_back_label;
	lv_obj_t *motor_datetext_1;
	lv_obj_t *motor_slider_1;
	lv_obj_t *beep;
	bool beep_del;
	lv_obj_t *beep_cont_4;
	lv_obj_t *beep_label_6;
	lv_obj_t *beep_digital_clock_3;
	lv_obj_t *beep_btn_back;
	lv_obj_t *beep_btn_back_label;
	lv_obj_t *beep_datetext_1;
	lv_obj_t *beep_btnm_1;
	lv_obj_t *button;
	bool button_del;
	lv_obj_t *button_cont_4;
	lv_obj_t *button_label_6;
	lv_obj_t *button_digital_clock_3;
	lv_obj_t *button_btn_back;
	lv_obj_t *button_btn_back_label;
	lv_obj_t *button_datetext_1;
	lv_obj_t *button_key5_led;
	lv_obj_t *button_label_27;
	lv_obj_t *button_key11_led;
	lv_obj_t *button_key17_led;
	lv_obj_t *button_label_28;
	lv_obj_t *button_label_29;
	lv_obj_t *touch;
	bool touch_del;
	lv_obj_t *touch_cont_4;
	lv_obj_t *touch_label_6;
	lv_obj_t *touch_digital_clock_3;
	lv_obj_t *touch_btn_back;
	lv_obj_t *touch_btn_back_label;
	lv_obj_t *touch_datetext_1;
	lv_obj_t *touch_cpicker_1;
	lv_obj_t *light;
	bool light_del;
	lv_obj_t *light_cont_4;
	lv_obj_t *light_label_6;
	lv_obj_t *light_digital_clock_3;
	lv_obj_t *light_btn_back;
	lv_obj_t *light_btn_back_label;
	lv_obj_t *light_datetext_1;
	lv_obj_t *light_label_light_val;
	lv_obj_t *light_label_31;
}lv_ui;

void ui_init_style(lv_style_t * style);
void init_scr_del_flag(lv_ui *ui);
void setup_ui(lv_ui *ui);
extern lv_ui guider_ui;
void setup_scr_screen(lv_ui *ui);
void setup_scr_temperature(lv_ui *ui);
void setup_scr_tample(lv_ui *ui);
void setup_scr_led(lv_ui *ui);
void setup_scr_camera(lv_ui *ui);
void setup_scr_motor(lv_ui *ui);
void setup_scr_beep(lv_ui *ui);
void setup_scr_button(lv_ui *ui);
void setup_scr_touch(lv_ui *ui);
void setup_scr_light(lv_ui *ui);
LV_IMG_DECLARE(_lighttt_alpha_60x60);
LV_IMG_DECLARE(_shidu_alpha_50x50);
LV_IMG_DECLARE(_dengguang_alpha_60x60);
LV_IMG_DECLARE(_motor_alpha_60x60);
LV_IMG_DECLARE(_video_alpha_60x60);
LV_IMG_DECLARE(_environment_alpha_60x60);
LV_IMG_DECLARE(_button_alpha_60x60);
LV_IMG_DECLARE(_beep_alpha_60x60);
LV_IMG_DECLARE(_touch_alpha_60x60);
LV_IMG_DECLARE(_wendu_alpha_50x50);

#ifdef __cplusplus
}
#endif
#endif